home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3prilay.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_PRIMLAYER_H = 1;
- include("real/layer/r3objlay.js")
-
-
- var R3CLID_PRIMLAYER = 73;
-
-
-
-
- // Description: Toggle the OPEN flag of seleced objects
-
- R3PLAYM_OPENLEVEL = 73000;
-
- function mR3PLAYM_OPENLEVEL() {
- DoA(this.r3obj, 73000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Perform CUT and PASTE in one operation
-
- R3PLAYM_CUTPASTE = 73001;
-
- function mR3PLAYM_CUTPASTE() {
- DoA(this.r3obj, 73001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Perform CUT and PASTE2 in one operation
-
- R3PLAYM_CUTPASTE2 = 73002;
-
- function mR3PLAYM_CUTPASTE2() {
- DoA(this.r3obj, 73002, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Delete all objects
-
- R3PLAYM_DELETEROOT = 73003;
-
- function mR3PLAYM_DELETEROOT() {
- DoA(this.r3obj, 73003, 0, R3TID_INTEGER, 0);
- }
-
- // Description: like doing R3OLAYM_PERFORMONSELECTED when root is selected.
- // p1: Boolean, if set, method doesn't generate MM_CHANGED.
-
- R3PLAYM_PERFORMONROOT = 73004;
-
- function mR3PLAYM_PERFORMONROOT(p1) {
- DoA2(this.r3obj, 73004, p1, R3TID_BOOLEAN, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Set selected objects to edit state
-
- R3PLAYM_EDITOBJECTS = 73005;
-
- function mR3PLAYM_EDITOBJECTS() {
- DoA(this.r3obj, 73005, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Return TRUE if layer is in edit state ie. any objects are beeing edited
-
- R3PLAYM_EDITING = 73006;
-
- function mR3PLAYM_EDITING() {
- DoA(this.r3obj, 73006, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Lock layer for changing wire objects so they can be safely changed while drawing.
-
- R3PLAYM_WIRELOCK = 73007;
-
- function mR3PLAYM_WIRELOCK() {
- DoA(this.r3obj, 73007, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Release layer for changing wire objects.
-
- R3PLAYM_WIRERELEASE = 73008;
-
- function mR3PLAYM_WIRERELEASE() {
- DoA(this.r3obj, 73008, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Execute all idle messages
- // Virtual method
-
- R3PLAYM_EXECIDLES_moved_to_o = 73009;
-
- function mR3PLAYM_EXECIDLES_moved_to_o() {
- DoA(this.r3obj, 73009, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Add idle message to the layers idle list
- // Virtual method
- // Returns: Boolean, true if succeeded
- // p1: Object, object to be called
- // p2: Integer, method
- // p3: Object, p3 parameter for the object to be called.
-
- R3PLAYM_ADDIDLEMSG_moved_to_ = 73010;
-
- function mR3PLAYM_ADDIDLEMSG_moved_to_(p1, p2, p3) {
- return DoA3(this.r3obj, 73010, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: If layer is in edit mode delete selected points in objects else behave like
- // R3OLAYM_DELETESELECTION
-
- R3PLAYM_DELETECONDITIONAL = 73011;
-
- function mR3PLAYM_DELETECONDITIONAL() {
- DoA(this.r3obj, 73011, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Send R3PRIMM_EXPORT to root object
-
- R3PLAYM_EXPORT = 73012;
-
- function mR3PLAYM_EXPORT() {
- DoA(this.r3obj, 73012, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Make INSTANCE objects of the selected objects
- // p1: Object, insert after this object, if NULL insert at the end, if same as the
- // parent level, then insert as the first child.
- // p3: Tag[], tag list containing R3PLAYA_AutoSelect, R3PLAYA_DuplicateInstances
-
- R3PLAYM_MAKEINSTANCES = 73013;
-
- function mR3PLAYM_MAKEINSTANCES(p1, p3) {
- Do2(this.r3obj, 73013, p1, R3TID_OBJECT, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Make KEYFRAME objects of the selected objects
-
- R3PLAYM_MAKEKEYFRAMES = 73014;
-
- function mR3PLAYM_MAKEKEYFRAMES() {
- DoA(this.r3obj, 73014, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Insert new object to a layer. The contents of the selection list remains the
- // same (R3PLAYA_SelectionMethod ignored)
- // p1: Boolean, true to update select list
- // p2: Boolean, if true, no space mapping is applied (object is inserted with given space)
- // p3: Object, object to be inserted
-
- R3PLAYM_RAWINSERT = 73015;
-
- function mR3PLAYM_RAWINSERT(p1, p2, p3) {
- DoA3(this.r3obj, 73015, p1, R3TID_BOOLEAN, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Pass list of the selected objects to the first selected object
- // p1: Integer, method to be sent to the first selected object
- // p2: Integer, if FALSE, selected objects are not deleted, otherwise only the first selected object is
- // not deleted.
-
- R3PLAYM_CONCATENATE = 73016;
-
- function mR3PLAYM_CONCATENATE(p1, p2) {
- DoA3(this.r3obj, 73016, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Make the first selected level the current level, if it is the current level
- // move current level up to parent
-
- R3PLAYM_MAKESELECTEDCURRENTL = 73017;
-
- function mR3PLAYM_MAKESELECTEDCURRENTL() {
- DoA(this.r3obj, 73017, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Do a copy and a paste so that the copys parent is the same
- // as the origiinal
-
- R3PLAYM_COPYPASTE = 73018;
-
- function mR3PLAYM_COPYPASTE() {
- DoA(this.r3obj, 73018, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Toggles selected objects edit state
-
- R3PLAYM_TOGGLEEDITOBJECTS = 73019;
-
- function mR3PLAYM_TOGGLEEDITOBJECTS() {
- DoA(this.r3obj, 73019, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Make the first selected object the virtual root object.
- // Returns: Boolean, true if succeeded
-
- R3PLAYM_MAKESELECTEDVIRTUALR = 73020;
-
- function mR3PLAYM_MAKESELECTEDVIRTUALR() {
- return DoA(this.r3obj, 73020, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Call each selected object for each other selected object. The selected object (o) is
- // called as: R3SendMsgA2(o, p1, o[n], p3);
- // Returns: Object, return value from the calllback method. If null, select list enumeration is cancelled.
- // p1: Integer, method to be called
- // p3: Object, p3 parameter for the method
-
- R3PLAYM_CALLSELECTEDINPAIRS = 73021;
-
- function mR3PLAYM_CALLSELECTEDINPAIRS(p1, p3) {
- return DoA2(this.r3obj, 73021, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Snap the given 3D point to nearest object
- // Returns: Object, address of the nearest object
- // p1: r3Vect, position to be snapped (in abs space)
- // p2: r3Vect, snapped position in abs space
- // p3: r3Vect, parameter value corresponding the snapped position
-
- R3PLAYM_SNAPTONEARESTSELECTE = 73022;
-
- function mR3PLAYM_SNAPTONEARESTSELECTE(p1, p2, p3) {
- return R3ToJS( DoA3(this.r3obj, 73022, p1, R3TID_VECTOR, 0, p2, R3TID_VECTOR, 0, p3, R3TID_VECTOR, 0));
- }
-
- // Description: Insert the given 'copy' object to layer without changing it object space. New 'dummy'
- // parent level is added to accomplish this.
- // Returns: Object, address of the 'dummy parent' level.
- // p1: Object, original object
- // p3: Object, copy of the original object.
-
- R3PLAYM_INSERTWITHFIXEDSPACE = 73023;
-
- function mR3PLAYM_INSERTWITHFIXEDSPACE(p1, p3) {
- return R3ToJS( DoA2(this.r3obj, 73023, p1, R3TID_OBJECT, 0, p3, R3TID_OBJECT, 0));
- }
-
- // Description: Replace the selected objects. The method scans through the selected objects. It first removes
- // the selected object in question, calls the callback method which should return the new object.
- // Finally the selected object in question is unreferenced. Note: the caller can ref the object
- // to be replaced and this way keep it alive. The callback method is called as:
- // R3SendMsgA(cbobj, cbmth, selectedobj, cbdata); Note2: the selected object in question is already removed from the
- // layer when the callback method is called.
- // p1: Object, callback object
- // p2: Integer, callback method
- // p3: Object, callback data
-
- R3PLAYM_REPLACE = 73024;
-
- function mR3PLAYM_REPLACE(p1, p2, p3) {
- DoA3(this.r3obj, 73024, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Insert the given object to the selected object. If the selected object is not
- // true level object, one will be created so that insertion becomes possible. If there are
- // more than one selected object, the object to be inserted will be duplicated and inserted
- // for all of them.
- // Returns: Boolean, true if succeeded
- // p3: Object, object to be inserted.
-
- R3PLAYM_INSERTTOSELECTED = 73025;
-
- function mR3PLAYM_INSERTTOSELECTED(p3) {
- return DoA(this.r3obj, 73025, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Inserts the given object to the given level object. If the 'level' is not
- // true level, one will be created and the original level is inserted with the new
- // object into the newly created level.
- // Returns: Object, address of the level in which the new object is inserted
- // p1: Object, target level
-
- R3PLAYM_DROPTOLEVEL = 73026;
-
- function mR3PLAYM_DROPTOLEVEL(p1) {
- return R3ToJS( DoA2(this.r3obj, 73026, p1, R3TID_OBJECT, 0, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Fetch symbolic string describing the status of the selected objects.
- // p3: String, buffer for holding the result (min length 256)
-
- R3PLAYM_GETEDITSTRING = 73027;
-
- function mR3PLAYM_GETEDITSTRING(p3) {
- DoA(this.r3obj, 73027, p3, R3TID_STRING, 0);
- }
-
- // Description: Activate animation recording: all attributes modified when layer is in recording mode are automatically
- // keyframed.
- // Returns: Boolean, previous status
- // p3: Boolean, true to set recording, FALSE to clear.
-
- R3PLAYM_ANIMRECORD = 73028;
-
- function mR3PLAYM_ANIMRECORD(p3) {
- return DoA(this.r3obj, 73028, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: Get hierarchical name of the selected object. If more than one object selected, common
- // part of the name path is returned.
- // Returns: Integer, number of selected objects.
- // p1: Integer, max size of the supplied buffer
- // p3: String, buffer
-
- R3PLAYM_GETSELECTEDNAMESTRIN = 73029;
-
- function mR3PLAYM_GETSELECTEDNAMESTRIN(p1, p3) {
- return DoA2(this.r3obj, 73029, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Insert object to given level
- // p2: Boolean, apply space mapping
- // p3: Object, object to be inserted
-
- R3PLAYM_INSERTTO = 73030;
-
- function mR3PLAYM_INSERTTO(p2, p3) {
- DoA3(this.r3obj, 73030, 0, R3TID_INTEGER, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Insert new object to a layer. Inserts after the given object. The contents of
- // the selection list remains the same (R3PLAYA_SelectionMethod ignored)
- // p1: Boolean, true to update select list
- // p2: Boolean, if true, no space mapping is applied (object is inserted with given space)
- // p3: Tag[], tag list containing R3PLAYA_InsertThis and R3PLAYA_AfterThis.
-
- R3PLAYM_RAWINSERTAFTER = 73031;
-
- function mR3PLAYM_RAWINSERTAFTER(p1, p2, p3) {
- Do3(this.r3obj, 73031, p1, R3TID_BOOLEAN, 0, p2, R3TID_BOOLEAN, 0, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Remove selected objects and insert them inside a new level. The parent for the
- // newly created level is determined by the first selected object.
- // Returns: Object, newly created level
-
- R3PLAYM_COLLECTTOLEVEL = 73032;
-
- function mR3PLAYM_COLLECTTOLEVEL() {
- return R3ToJS( DoA(this.r3obj, 73032, 0, R3TID_INTEGER, 0));
- }
-
- // Description: Enter interactive section.
-
- R3PLAYM_BEGININTERACTION = 73033;
-
- function mR3PLAYM_BEGININTERACTION() {
- DoA(this.r3obj, 73033, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Leave interaction mode
-
- R3PLAYM_ENDINTERACTION = 73034;
-
- function mR3PLAYM_ENDINTERACTION() {
- DoA(this.r3obj, 73034, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Translate selected objects by given transformation matrix
- // p3: r3Matrix, transformation matrix
-
- R3PLAYM_TRANSFORM = 73035;
-
- function mR3PLAYM_TRANSFORM(p3) {
- DoA(this.r3obj, 73035, p3, R3TID_MATRIX, 0);
- }
-
- // Description: Get hierarchical name of an object.
- // p1: Object, name of this object will be created
- // p2: Integer, max size of the supplied buffer
- // p3: String, buffer
-
- R3PLAYM_GETOBJECTNAMESTRING = 73036;
-
- function mR3PLAYM_GETOBJECTNAMESTRING(p1, p2, p3) {
- DoA3(this.r3obj, 73036, p1, R3TID_OBJECT, 0, p2, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: Perform R3SetAttrsA(wire, tags) on the wire frame objects of the selected objects
- // p3: Tag[], tags to pass to R3SetAttrsA().
-
- R3PLAYM_SETONSELECTEDWIRES = 73037;
-
- function mR3PLAYM_SETONSELECTEDWIRES(p3) {
- Do(this.r3obj, 73037, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Set given sub component of a vector attribute in 'relative' way (the value is
- // added to the current value, not assigned) to the wire frame objects of the selected
- // objects.
- // p1: Integer, attribute to be set
- // p2: Integer, ordnum of the sub field (0 = x, 1 = y etc.)
- // p3: Number, new value
-
- R3PLAYM_SETRELATIVESUBFLOATO = 73038;
-
- function mR3PLAYM_SETRELATIVESUBFLOATO(p1, p2, p3) {
- DoA3(this.r3obj, 73038, p1, R3TID_INTEGER, 0, p2, R3TID_INTEGER, 0, p3, R3TID_FLOAT, 0);
- }
-
- // Description: Select all sub objects of an object
- // p1: Boolean, if TRUE all sub objects are known to be unselected (gives quicker selection)
- // p3: Object, object whose sub object should be added to selection
-
- R3PLAYM_SELECTCHILDREN = 73039;
-
- function mR3PLAYM_SELECTCHILDREN(p1, p3) {
- DoA2(this.r3obj, 73039, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Invert selection states
-
- R3PLAYM_INVERTSELECTION = 73040;
-
- function mR3PLAYM_INVERTSELECTION() {
- DoA(this.r3obj, 73040, 0, R3TID_INTEGER, 0);
- }
-
- // Description: map dynamig channel binding to a new value
- // p1: Integer, new attribute identifier
- // p3: String, name of the channel
-
- R3PLAYM_CHANGECHANNELBINDING = 73041;
-
- function mR3PLAYM_CHANGECHANNELBINDING(p1, p3) {
- DoA2(this.r3obj, 73041, p1, R3TID_INTEGER, 0, p3, R3TID_STRING, 0);
- }
-
- // Description: fetch the parent level of first selected object.
- // p3: Boolean, if TRUE returns current level if there are no selected objects.
-
- R3PLAYM_GETPARENTOFSELECTED = 73042;
-
- function mR3PLAYM_GETPARENTOFSELECTED(p3) {
- DoA(this.r3obj, 73042, p3, R3TID_BOOLEAN, 0);
- }
-
- // Description: An easy way to fetch selected objects. Supports the 'target / tool' object * philosophy:
- // the first n-1 selected objects are returned as targets and * the last selected object is
- // returned as the tool. Call R3PLAYM_FREESELECTED * to release the memory allocated by this method. This
- // method locks * the select list in shared lock.
- // Returns: Object, null terminated array of target objects
- // p1: Integer[], number of target objects
- // p3: Object[], memory for the tool object
-
- R3PLAYM_GETSELECTED = 73043;
-
- function mR3PLAYM_GETSELECTED(p1, p3) {
- return R3ToJS( DoA2(this.r3obj, 73043, p1, R3TID_INTEGER, R3TNF_ARRAY, p3, R3TID_OBJECT, R3TNF_ARRAY));
- }
-
- // Description: Free memory allocated by the GETSELECTED method.
- // p1: Integer, number of target objects
- // p3: Object[], target objects as returned by GETSELECTED method
-
- R3PLAYM_FREESELECTED = 73044;
-
- function mR3PLAYM_FREESELECTED(p1, p3) {
- DoA2(this.r3obj, 73044, p1, R3TID_INTEGER, 0, p3, R3TID_OBJECT, R3TNF_ARRAY);
- }
-
-
-
-
- R3PLAYA_Root = 73500;
- function GetR3PLAYA_Root() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_Root, R3TID_OBJECT, 0));
- }
-
- R3PLAYA_CurrentLevel = 73501;
- function SetR3PLAYA_CurrentLevel(value) {
- R3Set(this.r3obj, R3PLAYA_CurrentLevel, value, R3TID_OBJECT, 0);
- }
-
- function GetR3PLAYA_CurrentLevel() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_CurrentLevel, R3TID_OBJECT, 0));
- }
-
- R3PLAYA_AnimRecord = 73502;
- function SetR3PLAYA_AnimRecord(value) {
- R3Set(this.r3obj, R3PLAYA_AnimRecord, value, R3TID_BOOLEAN, 0);
- }
-
- function GetR3PLAYA_AnimRecord() {
- return R3Get(this.r3obj, R3PLAYA_AnimRecord, R3TID_BOOLEAN, 0);
- }
-
- R3PLAYA_CurrentRGB = 73503;
- function SetR3PLAYA_CurrentRGB(value) {
- R3Set(this.r3obj, R3PLAYA_CurrentRGB, value, R3TID_COLOR_RGB, 0);
- }
-
- function GetR3PLAYA_CurrentRGB() {
- return R3Get(this.r3obj, R3PLAYA_CurrentRGB, R3TID_COLOR_RGB, 0);
- }
-
- var R3PLAYA_AutoSelect = 73504; // Integer
- var R3PLAYA_Recursive = 73505; // Boolean
- R3PLAYA_Matrix = 73506;
- function SetR3PLAYA_Matrix(value) {
- R3Set(this.r3obj, R3PLAYA_Matrix, value, R3TID_MATRIX, R3TNF_ARRAY);
- }
-
- function GetR3PLAYA_Matrix() {
- return R3Get(this.r3obj, R3PLAYA_Matrix, R3TID_MATRIX, R3TNF_ARRAY);
- }
-
- R3PLAYA_Volatile = 73507;
- function SetR3PLAYA_Volatile(value) {
- R3Set(this.r3obj, R3PLAYA_Volatile, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PLAYA_Volatile() {
- return R3Get(this.r3obj, R3PLAYA_Volatile, R3TID_INTEGER, 0);
- }
-
- R3PLAYA_SelectMethod = 73508;
- function SetR3PLAYA_SelectMethod(value) {
- R3Set(this.r3obj, R3PLAYA_SelectMethod, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PLAYA_SelectMethod() {
- return R3Get(this.r3obj, R3PLAYA_SelectMethod, R3TID_INTEGER, 0);
- }
-
- R3PLAYA_MaterialEvaluator = 73509;
- function SetR3PLAYA_MaterialEvaluator(value) {
- R3Set(this.r3obj, R3PLAYA_MaterialEvaluator, value, R3TID_OBJECT, 0);
- }
-
- function GetR3PLAYA_MaterialEvaluator() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_MaterialEvaluator, R3TID_OBJECT, 0));
- }
-
- var R3PLAYA_AfterThis = 73517; // Object
- R3PLAYA_RootClid = 73518;
- function SetR3PLAYA_RootClid(value) {
- R3Set(this.r3obj, R3PLAYA_RootClid, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PLAYA_RootClid() {
- return R3Get(this.r3obj, R3PLAYA_RootClid, R3TID_INTEGER, 0);
- }
-
- R3PLAYA_VirtualRoot = 73519;
- function SetR3PLAYA_VirtualRoot(value) {
- R3Set(this.r3obj, R3PLAYA_VirtualRoot, value, R3TID_OBJECT, 0);
- }
-
- function GetR3PLAYA_VirtualRoot() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_VirtualRoot, R3TID_OBJECT, 0));
- }
-
- R3PLAYA_Materials = 73520;
- function SetR3PLAYA_Materials(value) {
- R3Set(this.r3obj, R3PLAYA_Materials, value, R3TID_OBJECT, 0);
- }
-
- function GetR3PLAYA_Materials() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_Materials, R3TID_OBJECT, 0));
- }
-
- var R3PLAYA_InsertThis = 73521; // Object
- R3PLAYA_UserChannels = 73522;
- function SetR3PLAYA_UserChannels(value) {
- R3Set(this.r3obj, R3PLAYA_UserChannels, value, R3TID_OBJECT, 0);
- }
-
- function GetR3PLAYA_UserChannels() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_UserChannels, R3TID_OBJECT, 0));
- }
-
- R3PLAYA_World = 73523;
- function GetR3PLAYA_World() {
- return R3ToJS(R3Get(this.r3obj, R3PLAYA_World, R3TID_OBJECT, 0));
- }
-
- R3PLAYA_CurrentTag = 73524;
- function SetR3PLAYA_CurrentTag(value) {
- R3Set(this.r3obj, R3PLAYA_CurrentTag, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PLAYA_CurrentTag() {
- return R3Get(this.r3obj, R3PLAYA_CurrentTag, R3TID_INTEGER, 0);
- }
-
- R3PLAYA_CurrentIndex = 73525;
- function SetR3PLAYA_CurrentIndex(value) {
- R3Set(this.r3obj, R3PLAYA_CurrentIndex, value, R3TID_INTEGER, 0);
- }
-
- function GetR3PLAYA_CurrentIndex() {
- return R3Get(this.r3obj, R3PLAYA_CurrentIndex, R3TID_INTEGER, 0);
- }
-
- var R3PLAYA_DuplicateInstances = 73526; // Boolean
- var R3SELMODE_NOSELECT = 0;
- var R3SELMODE_SELECTMUTEX = 1;
- var R3SELMODE_SELECTCUMULATIVE = 2;
-
-
- function r3Primlayer () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_PRIMLAYER, arguments);
- }
- // Methods
- this.OPENLEVEL=mR3PLAYM_OPENLEVEL;
- this.CUTPASTE=mR3PLAYM_CUTPASTE;
- this.CUTPASTE2=mR3PLAYM_CUTPASTE2;
- this.DELETEROOT=mR3PLAYM_DELETEROOT;
- this.PERFORMONROOT=mR3PLAYM_PERFORMONROOT;
- this.EDITOBJECTS=mR3PLAYM_EDITOBJECTS;
- this.EDITING=mR3PLAYM_EDITING;
- this.WIRELOCK=mR3PLAYM_WIRELOCK;
- this.WIRERELEASE=mR3PLAYM_WIRERELEASE;
- this.EXECIDLES_moved_to_o=mR3PLAYM_EXECIDLES_moved_to_o;
- this.ADDIDLEMSG_moved_to_=mR3PLAYM_ADDIDLEMSG_moved_to_;
- this.DELETECONDITIONAL=mR3PLAYM_DELETECONDITIONAL;
- this.EXPORT=mR3PLAYM_EXPORT;
- this.MAKEINSTANCES=mR3PLAYM_MAKEINSTANCES;
- this.MAKEKEYFRAMES=mR3PLAYM_MAKEKEYFRAMES;
- this.RAWINSERT=mR3PLAYM_RAWINSERT;
- this.CONCATENATE=mR3PLAYM_CONCATENATE;
- this.MAKESELECTEDCURRENTL=mR3PLAYM_MAKESELECTEDCURRENTL;
- this.COPYPASTE=mR3PLAYM_COPYPASTE;
- this.TOGGLEEDITOBJECTS=mR3PLAYM_TOGGLEEDITOBJECTS;
- this.MAKESELECTEDVIRTUALR=mR3PLAYM_MAKESELECTEDVIRTUALR;
- this.CALLSELECTEDINPAIRS=mR3PLAYM_CALLSELECTEDINPAIRS;
- this.SNAPTONEARESTSELECTE=mR3PLAYM_SNAPTONEARESTSELECTE;
- this.INSERTWITHFIXEDSPACE=mR3PLAYM_INSERTWITHFIXEDSPACE;
- this.REPLACE=mR3PLAYM_REPLACE;
- this.INSERTTOSELECTED=mR3PLAYM_INSERTTOSELECTED;
- this.DROPTOLEVEL=mR3PLAYM_DROPTOLEVEL;
- this.GETEDITSTRING=mR3PLAYM_GETEDITSTRING;
- this.ANIMRECORD=mR3PLAYM_ANIMRECORD;
- this.GETSELECTEDNAMESTRIN=mR3PLAYM_GETSELECTEDNAMESTRIN;
- this.INSERTTO=mR3PLAYM_INSERTTO;
- this.RAWINSERTAFTER=mR3PLAYM_RAWINSERTAFTER;
- this.COLLECTTOLEVEL=mR3PLAYM_COLLECTTOLEVEL;
- this.BEGININTERACTION=mR3PLAYM_BEGININTERACTION;
- this.ENDINTERACTION=mR3PLAYM_ENDINTERACTION;
- this.TRANSFORM=mR3PLAYM_TRANSFORM;
- this.GETOBJECTNAMESTRING=mR3PLAYM_GETOBJECTNAMESTRING;
- this.SETONSELECTEDWIRES=mR3PLAYM_SETONSELECTEDWIRES;
- this.SETRELATIVESUBFLOATO=mR3PLAYM_SETRELATIVESUBFLOATO;
- this.SELECTCHILDREN=mR3PLAYM_SELECTCHILDREN;
- this.INVERTSELECTION=mR3PLAYM_INVERTSELECTION;
- this.CHANGECHANNELBINDING=mR3PLAYM_CHANGECHANNELBINDING;
- this.GETPARENTOFSELECTED=mR3PLAYM_GETPARENTOFSELECTED;
- this.GETSELECTED=mR3PLAYM_GETSELECTED;
- this.FREESELECTED=mR3PLAYM_FREESELECTED;
-
- // Attributes
- this.GetRoot=GetR3PLAYA_Root;
- this.GetCurrentLevel=GetR3PLAYA_CurrentLevel;
- this.SetCurrentLevel=SetR3PLAYA_CurrentLevel;
- this.GetAnimRecord=GetR3PLAYA_AnimRecord;
- this.SetAnimRecord=SetR3PLAYA_AnimRecord;
- this.GetCurrentRGB=GetR3PLAYA_CurrentRGB;
- this.SetCurrentRGB=SetR3PLAYA_CurrentRGB;
- this.GetMatrix=GetR3PLAYA_Matrix;
- this.SetMatrix=SetR3PLAYA_Matrix;
- this.GetVolatile=GetR3PLAYA_Volatile;
- this.SetVolatile=SetR3PLAYA_Volatile;
- this.GetSelectMethod=GetR3PLAYA_SelectMethod;
- this.SetSelectMethod=SetR3PLAYA_SelectMethod;
- this.GetMaterialEvaluator=GetR3PLAYA_MaterialEvaluator;
- this.SetMaterialEvaluator=SetR3PLAYA_MaterialEvaluator;
- this.GetRootClid=GetR3PLAYA_RootClid;
- this.SetRootClid=SetR3PLAYA_RootClid;
- this.GetVirtualRoot=GetR3PLAYA_VirtualRoot;
- this.SetVirtualRoot=SetR3PLAYA_VirtualRoot;
- this.GetMaterials=GetR3PLAYA_Materials;
- this.SetMaterials=SetR3PLAYA_Materials;
- this.GetUserChannels=GetR3PLAYA_UserChannels;
- this.SetUserChannels=SetR3PLAYA_UserChannels;
- this.GetWorld=GetR3PLAYA_World;
- this.GetCurrentTag=GetR3PLAYA_CurrentTag;
- this.SetCurrentTag=SetR3PLAYA_CurrentTag;
- this.GetCurrentIndex=GetR3PLAYA_CurrentIndex;
- this.SetCurrentIndex=SetR3PLAYA_CurrentIndex;
- }
-
- r3Primlayer.prototype=new r3Objectlayer;
- // r3prilay.h_H